home *** CD-ROM | disk | FTP | other *** search
/ Mac Power 1997 December / MACPOWER-1997-12.ISO.7z / MACPOWER-1997-12.ISO / AMUG / PROGRAMMING / Raven 1.2 Examples.sit / Raven 1.2 Examples / Quill / Source / DocWindow.h < prev    next >
Text File  |  1997-01-31  |  1KB  |  67 lines

  1. /*
  2.  *  File:       DocWindow.h
  3.  *  Summary:       Quill's document window.
  4.  *  Written by: Jesse Jones
  5.  *
  6.  *  Copyright ゥ 1996 Jesse Jones. 
  7.  *    For conditions of distribution and use, see copyright notice in ZTypes.h  
  8.  *
  9.  *  Change History (most recent first):    
  10.  *
  11.  *         <->     8/09/96    JDJ        Created
  12.  */
  13.  
  14. #pragma once
  15.  
  16. #include <ZControl.h>
  17. #include <ZDocWindow.h>
  18.  
  19. #include "CustomClasses.h"
  20.  
  21.  
  22. //-----------------------------------
  23. //    Forward References
  24. //
  25. class CDocument;
  26.  
  27.  
  28. // ===================================================================================
  29. //    class CDocWindow
  30. // ===================================================================================
  31. class CDocWindow : public TDocWindow, public MListener<CCustomClasses*> {
  32.  
  33.     typedef TDocWindow Inherited;
  34.  
  35. //-----------------------------------
  36. //    Initialization/Destruction
  37. //
  38. public:
  39.     virtual             ~CDocWindow();
  40.     
  41.                         CDocWindow();
  42.  
  43. //-----------------------------------
  44. //    Inherited API
  45. //
  46. protected:
  47.     virtual void         OnReanimated();
  48.     
  49.     virtual void         OnActivating();
  50.  
  51.     virtual void         OnBroadcast(CCustomClasses* const& mesg);
  52.     
  53.     virtual void         OnBroadcast(const SDocumentMessage& mesg);
  54.  
  55. //-----------------------------------
  56. //    TReanimator Support
  57. //
  58. public:
  59.     static     MReanimatable* Create(MReanimatable* parent);
  60.  
  61. //-----------------------------------
  62. //    Internal API
  63. //
  64. protected:
  65.     virtual void         UpdateCustomClassMenu();
  66. };
  67.